<template>
    <div>
        
        <h2>{{zhi}}</h2>
    </div>
</template>

<script>
export default {
    // props:['zhi'],
    props:{
        zhi:{
            type:Number,
            default:888
        }
    },
    data() {
        return {
            
        };
    },

    mounted() {
        console.log("子组件挂载后", this.$parent ) 
        // console.log("子组件挂载后", this.$parent.n ) 

        this.$parent.ff();
    },

    methods: {
        
    },
};
</script>

<style lang="scss" scoped>

</style>